import request from '@/utils/request'

export function getList(params) {
  return request({
    url: '/academies',
    method: 'get',
    params
  })
}

export function update(data, id) {
  return request({
    url: '/academies/' + id,
    method: 'put',
    data
  })
}
export function updateCheck(data, id) {
  return request({
    url: '/check/' + id + '/academies',
    method: 'put',
    data
  })
}
export function getCheckList(params) {
  return request({
    url: '/checks',
    method: 'get',
    params
  })
}

